package com.bjx.system.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.bjx.common.core.domain.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @desc: 职位数据实体
 * @author: liushuai
 * @date: 2022/10/15
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_post")
@Schema(title = "Post",description = "职位")
public class PostEntity extends BaseEntity {
      /**
      * 职位Id
      */
      @TableId(type = IdType.AUTO)
      @Schema(title = "postId",description = "职位Id")
      private  Long postId; 
      
      /**
      * 职位名称
      */
      @Schema(title = "postName",description = "职位名称")
      private  String postName; 
      
      /**
      * 职位编号
      */
      @Schema(title = "postCode",description = "职位编号")
      private  String postCode; 
      
      /**
      * 是否启用(1:是/2:否)
      */
      @Schema(title = "enabled",description = "是否启用(1:是/2:否)")
      private  Short enabled; 
      
      /**
      * 顺序字段
      */
      @Schema(title = "orderNum",description = "顺序字段")
      private  Integer orderNum; 
      
}